﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Initialization : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        //获取设备分辨率并修改程序分辨率
        Screen.fullScreen = true;
        print(Screen.currentResolution);
        Screen.SetResolution(Screen.currentResolution.width,Screen.currentResolution.height,true);
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
